package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(50);not null;"`
	Password string `gorm:"type:varchar(50);not null;"`
}

type Friend struct {
	gorm.Model
	UserId int `gorm:"int(11);not null;"`
	ObjId  int `gorm:"int(11);not null;"`
	Cmd    int `gorm:"int(11);not null;"`
	Status int `gorm:"int(11);not null;"`
}
